package com.bgIntlgn.client.entity.jishubu;

import yuhuibear.poat.annotations.relation.View;
import yuhuibear.poat.object.bean.Bean;

@View(name = "ElementType_View", sqlToCreate = "select dictionarys.name as typename, elements.name as name, elements.root_type as root_type, elements.sub_type as sub_type "
		+ "from dictionarys, elements " + "where dictionarys.id=elements.type")
public class ElementTypeView implements Bean {

	private String name;
	private String typename;
	private Long rootType;
	private Long subType;

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getTypename() {
		return typename;
	}

	public void setTypename(String typename) {
		this.typename = typename;
	}

	public Long getRootType() {
		return this.rootType;
	}

	public void setRootType(Long rootType) {
		this.rootType = rootType;
	}

	public Long getSubType() {
		return this.subType;
	}

	public void setSubType(Long subType) {
		this.subType = subType;
	}

}
